/* --------------------------------------------------------------------------------------------------------------------
// <copyright file="bcms.media.css" company="Devbridge Group LLC">
//
// Copyright (C) 2015,2016 Devbridge Group LLC
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with this program.  If not, see http://www.gnu.org/licenses/.
// </copyright>
//
// <summary>
// Better CMS is a publishing focused and developer friendly .NET open source CMS.
//
// Website: https://www.bettercms.com
// GitHub: https://github.com/devbridge/bettercms
// Email: info@bettercms.com
// </summary>
// ------------------------------------------------------------------------------------------------------------------*/
.bcms-clearfix:after, .bcms-media-manager-form:after, .bcms-media-context-block:after {
  content: '';
  display: table;
  clear: both;
}

.bcms-croped-block {
  border: 1px dashed #0d7ce7;
  max-height: 600px;
  overflow: auto;
  padding: 10px;
  text-align: center;
}

.bcms-media-manager-form {
  border-bottom: 1px solid #dfdfdf;
  padding-bottom: 40px;
}

.bcms-media-manager-column-left {
  float: left;
  width: 57.44681%;
}

.bcms-media-manager-column-right {
  float: left;
  margin-left: 45px;
  width: 31.91489%;
}

.bcms-media-editor-container {
  display: table;
  width: 100%;
}

.bcms-media-editor-column {
  display: table-cell;
  vertical-align: bottom;
  padding-left: 10px;
  width: 31.91489%;
}

.bcms-media-editor-column:first-child {
  padding-left: 0;
}

.bcms-media-restore-size {
  clear: both;
  color: #0d7ce7;
  cursor: pointer;
  margin-top: 10px;
}

.bcms-media-re-upload {
  color: #0d7ce7;
  cursor: pointer;
  font-size: 12px;
  position: relative;
}

.bcms-alignment-controls {
  margin-top: 5px;
}

.bcms-alignment-controls > div {
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  margin-right: 10px;
  padding-top: 45px;
  text-align: center;
  width: 33px;
}

.bcms-alignment-controls .bcms-align-left {
  background: url("") no-repeat center top;
}

.bcms-alignment-controls .bcms-align-left-active {
  background: url("") no-repeat center top;
}

.bcms-alignment-controls .bcms-align-center {
  background: url("") no-repeat center top;
}

.bcms-alignment-controls .bcms-align-center-active {
  background: url("") no-repeat center top;
}

.bcms-alignment-controls .bcms-align-right {
  background: url("") no-repeat center top;
}

.bcms-alignment-controls .bcms-align-right-active {
  background: url("") no-repeat center top;
}

.bcms-file-drop-zone {
  display: table-cell;
  vertical-align: middle;
  background-color: #f3f3f3;
  border: 2px dashed #dfdfdf;
  border-radius: 2px;
  height: 300px;
  margin-bottom: 15px;
  text-align: center;
}

.bcms-file-drop-zone-container {
  display: table;
  margin-top: 30px;
  width: 100%;
}

.bcms-file-drop-zone-text {
  color: #a6a6a6;
  cursor: default;
  font-size: 23px;
  margin-bottom: 25px;
  text-align: center;
}

.bcms-file-drop-zone-download {
  margin-top: 25px;
}

.bcms-file-drop-zone-download > a {
  color: #a6a6a6;
  cursor: pointer;
  font-size: 16px;
}

.bcms-file-drop-zone-download > a:hover {
  color: #0d7ce7;
}

.bcms-file-drop-zone-active .bcms-btn-main {
  opacity: 0;
}

.bcms-btn-main .bcms-btn-upload-files-text {
  height: 100%;
  width: 100%;
  color: #ffffff;
  cursor: pointer;
  display: block;
}

.bcms-uploaded-container {
  margin-top: 35px;
}

.bcms-upload-block {
  background-color: #ffffff;
  border: 1px solid #dfdfdf;
  cursor: default;
  display: table;
  height: 39px;
  margin-top: -1px;
  overflow: hidden;
  width: 100%;
}

.bcms-upload-block.bcms-upload-failed .bcms-upload-description {
  color: #dc4250;
}

.bcms-upload-block.bcms-upload-success .bcms-upload-description {
  color: #33aa61;
}

.bcms-upload-block > div {
  display: table-cell;
  vertical-align: middle;
  font-size: 12px;
  line-height: 39px;
  padding: 0 10px;
}

.bcms-upload-file-titles {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #0d7ce7;
  width: 280px;
}

.bcms-upload-info {
  font-weight: 700;
  width: 40px;
}

.bcms-upload-bar-holder {
  overflow: hidden;
  text-align: right;
}

.bcms-upload-description {
  font-weight: 600;
}

.bcms-upload-size-info {
  border-right: 1px solid #dfdfdf;
  border-left: 1px solid #dfdfdf;
  text-align: center;
  width: 100px;
}

.bcms-media-delete-holder {
  position: relative;
  text-align: center;
  width: 40px;
}

.bcms-progress {
  -webkit-transition: all 200ms;
  -moz-transition: all 200ms;
  transition: all 200ms;
  background-color: #0d7ce7;
  height: 15px;
  margin: -1px;
}

.bcms-progress-bar {
  background-color: #f3f3f3;
  border: 1px solid #dfdfdf;
  box-shadow: inset 0 0 6px rgba(99, 99, 99, 0.2);
  box-sizing: border-box;
  float: right;
  height: 15px;
  overflow: hidden;
  width: 300px;
}

.bcms-progress-info {
  display: inline-block;
  vertical-align: middle;
  font-size: 14px;
  font-weight: 600;
  margin-left: 10px;
}

.bcms-media-table .bcms-sort-arrow {
  margin-right: 30px;
}

.bcms-media-new-folder {
  background: #ffffff url("") no-repeat 10px center;
  border: 1px solid #dfdfdf;
  box-sizing: border-box;
  cursor: pointer;
  float: right;
  font-size: 12px;
  font-weight: 600;
  height: 32px;
  line-height: 30px;
  padding: 0 15px 0 40px;
}

.bcms-media-up {
  background: url("") no-repeat left center;
  color: #0d7ce7;
  cursor: pointer;
  float: left;
  height: 32px;
  line-height: 30px;
  padding-left: 14px;
}

.bcms-media-item-info {
  cursor: pointer;
  float: left;
}

.bcms-media-folder {
  display: inline-block;
  vertical-align: middle;
  height: 18px;
  width: 22px;
  background: url("") no-repeat center;
  margin-right: 10px;
}

.bcms-media-name {
  display: inline-block;
  vertical-align: middle;
  color: #0d7ce7;
}

.bcms-media-controls {
  display: none;
}

.bcms-media-controls .bcms-field-wrapper {
  float: left;
  width: 82.97872%;
}

.bcms-media-buttons {
  float: right;
  width: 14.89362%;
}

.bcms-media-preview {
  background-color: #ffffff;
  border: 1px solid #d0d0d0;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
  padding: 15px 25px 25px;
  position: fixed;
  z-index: 9999;
}

.bcms-media-preview img {
  max-height: 250px;
  max-width: 400px;
}

.bcms-media-click-active {
  background-color: #e7f3ff !important;
}

.bcms-folder-box-active {
  background-color: #e7f3ff;
}

.bcms-folder-box-active .bcms-media-item-info {
  display: none;
}

.bcms-folder-box-active .bcms-media-controls {
  display: block;
}

.bcms-media-context {
  position: absolute;
  right: 0;
  background-color: #ffffff;
  border: 1px solid #dfdfdf;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  padding: 0 30px;
  width: 250px;
  z-index: 10;
}

.bcms-media-context-block {
  border-top: 1px solid #dfdfdf;
  padding: 20px 0;
}

.bcms-media-context-block:first-child {
  border-top: 0;
}

.bcms-media-context-column {
  float: left;
  width: 48.93617%;
}

.bcms-media-content-link {
  color: #0d7ce7;
  cursor: pointer;
  font-family: "Open Sans", sans-serif !important;
  font-size: 12px;
  font-weight: 400;
  line-height: 28px;
}

.bcms-breadcrumbs-holder {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  position: absolute;
  top: 5px;
  left: 0;
  color: #0d7ce7;
  max-width: 700px;
  z-index: 1;
}

.bcms-breadcrumbs-root {
  cursor: pointer;
  display: inline;
  font-family: "Open Sans", sans-serif !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 28px;
}

.bcms-preview-image-frame {
  position: absolute;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
}

.bcms-croped-block * {
  margin: 0 auto;
}

.jcrop-holder {
  direction: ltr;
  text-align: left;
}

.jcrop-vline, .jcrop-hline {
  background: #FFF;
  font-size: 0;
  position: absolute;
  opacity: 1;
}

.jcrop-vline {
  height: 100%;
  border-left: 2px dotted #ff0000;
}

.jcrop-hline {
  border-top: 2px dotted #ff0000;
  width: 100%;
}

.jcrop-vline.right {
  right: 0;
}

.jcrop-hline.bottom {
  bottom: 0;
}

.jcrop-handle {
  background-color: #333;
  border: 1px #eee solid;
  font-size: 1px;
}

.jcrop-tracker {
  height: 100%;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.jcrop-handle.ord-n {
  left: 50%;
  margin-left: -4px;
  margin-top: -4px;
  top: 0;
}

.jcrop-handle.ord-s {
  bottom: 0;
  left: 50%;
  margin-bottom: -4px;
  margin-left: -4px;
}

.jcrop-handle.ord-e {
  margin-right: -4px;
  margin-top: -4px;
  right: 0;
  top: 50%;
}

.jcrop-handle.ord-w {
  left: 0;
  margin-left: -4px;
  margin-top: -4px;
  top: 50%;
}

.jcrop-handle.ord-nw {
  left: 0;
  margin-left: -4px;
  margin-top: -4px;
  top: 0;
}

.jcrop-handle.ord-ne {
  margin-right: -4px;
  margin-top: -4px;
  right: 0;
  top: 0;
}

.jcrop-handle.ord-se {
  bottom: 0;
  margin-bottom: -4px;
  margin-right: -4px;
  right: 0;
}

.jcrop-handle.ord-sw {
  bottom: 0;
  left: 0;
  margin-bottom: -4px;
  margin-left: -4px;
}

.jcrop-dragbar.ord-n, .jcrop-dragbar.ord-s {
  height: 7px;
  width: 100%;
}

.jcrop-dragbar.ord-e, .jcrop-dragbar.ord-w {
  height: 100%;
  width: 7px;
}

.jcrop-dragbar.ord-n {
  margin-top: -4px;
}

.jcrop-dragbar.ord-s {
  bottom: 0;
  margin-bottom: -4px;
}

.jcrop-dragbar.ord-e {
  margin-right: -4px;
  right: 0;
}

.jcrop-dragbar.ord-w {
  margin-left: -4px;
}

.jcrop-holder img, img.jcrop-preview {
  max-width: none;
}
